<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.prime.com.tr/ui">

    <ui:composition template="/template/DefaultTemplate.xhtml">
        <ui:define name="title">
            <h:outputText value="Create Sales Operation Plan"></h:outputText>
        </ui:define>
        <ui:define name="content">
            <h:form>
            <p:panel header="Select Sales Operation Plan Period">
                    <p:messages globalOnly="true"/>
                    <br />
                    <h:panelGrid columns="2">
                        <h:outputLabel value="Select Time Period"/>

                        <h:selectOneMenu id="salesForecast" value="#{masterProductionScheduleMonthlyEntityController.yoy}" >
                            <f:selectItems value="#{expectedYearOnYearGrowthEntityController.itemsAvailableSelectOne}"/>
                        </h:selectOneMenu>       

                    </h:panelGrid>
                </p:panel>
                <p:commandButton ajax="false" action="#{masterProductionScheduleMonthlyEntityController.create}" value="Generate Sales Operation Plan" />
                &nbsp;
                <p:commandButton ajax="false" value="Cancel" action="#{masterProductionScheduleMonthlyEntityController.prepareList}" immediate="true" />
            </h:form>
        </ui:define>
    </ui:composition>

</html>
